package com.ctgu.edu.service;

import com.ctgu.edu.pojo.Users;
import com.ctgu.edu.service.impl.UsersServiceImpl;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class testService {

    @Test
    public void test1(){
        ApplicationContext context = new ClassPathXmlApplicationContext("config/applicationContext.xml");

        UsersServiceImpl usersService = (UsersServiceImpl) context.getBean("UsersServiceImpl");

        //Users user = new Users("1","1","1","1",1);
        //System.out.println(user.toString());
        //usersService.addUser(user);

    }
}
